From: Colin Walters Date: Mon, 21 Aug 2023 18:05:14 +0000 (-0400) Subject: prepare-root: Drop redundant print about signature/digest X-Git-Tag: archive/raspbian/2023.7-3+rpi1^2~16^2^2~40^2~3 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=aa9b7c3b1b5866eb107e403f8c56d859fc4e22cb;p=ostree.git prepare-root: Drop redundant print about signature/digest We print if we're doing a signature+digest verification; its absence is sufficient in the other case. The goal here is to avoid polluting the logs when signatures are not enabled. --- diff --git a/src/switchroot/ostree-prepare-root.c b/src/switchroot/ostree-prepare-root.c index 54a55c1d..50ea0e92 100644 --- a/src/switchroot/ostree-prepare-root.c +++ b/src/switchroot/ostree-prepare-root.c @@ -493,7 +493,6 @@ main (int argc, char *argv[]) // Or stated in reverse: if signature verification is enabled, then digest verification // must also be. g_assert (!composefs_config->is_signed); - g_print ("composefs: Mounting with no digest or signature check\n"); } if (lcfs_mount_image (OSTREE_COMPOSEFS_NAME, TMP_SYSROOT, &cfs_options) == 0)